package com.waitAndnotifyAll;


/**
 * @Author weijingchen
 * @Date 2025/6/23 9:19
 * @Version 1.0.0
 */
public class ThreadDemo {
    public static void main(String[] args) {
        Cook cook = new Cook();
        Foodle foodle = new Foodle();
        cook.setName("厨师");
        foodle.setName("吃货");
        cook.start();
        foodle.start();
    }
}
